package com.kingwang.training.designpattern.builder.builder;

import com.kingwang.training.designpattern.builder.bean.CarBody;
import com.kingwang.training.designpattern.builder.bean.Engine;
import com.kingwang.training.designpattern.builder.bean.ToyotaEngine;
import com.kingwang.training.designpattern.builder.bean.Wheel;
import com.kingwang.training.designpattern.builder.bean.WulingCarBody;

public class ToyotaWulingCarBuilder extends CarBuilder {
    @Override
    public Engine buildEngine() {
        return new ToyotaEngine();
    }

    @Override
    public CarBody buildBody() {
        return new WulingCarBody();
    }

    @Override
    public Wheel buildWheel() {
        return null;
    }
}
